function getParams (a:number){
    return a;
}

type Params = Parameters<typeof getParams>

const params : Params = [ 1 ];

console.log(params);